package com.kazu.skill.service.impl;

import com.kazu.skill.entity.SkillInfo;
import com.kazu.skill.mapper.SkillInfoMapper;
import com.kazu.skill.service.SkillInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 技能信息 服务实现类
 * </p>
 *
 * @author kazu
 * @since 2023/02/19 10:22
 */
@Service
public class SkillInfoServiceImpl extends ServiceImpl<SkillInfoMapper, SkillInfo> implements SkillInfoService {
	
	@Autowired
	private SkillInfoMapper skillInfoMapper;
	
	/**
	 * 查询所有数据非分页
	 *
	 * @return 所有数据
	 */
	@Override
	public List<SkillInfo> getAll() {
		return skillInfoMapper.selectList(null);
	}
	
}
